package com.lzj.demo.design.adapter.old;

import cn.hutool.json.JSONUtil;
import com.lzj.demo.design.adapter.dto.POPOrderDeliver;

public class POPOrderMqService {
    public void onMessage(String message){
        POPOrderDeliver popOrderDeliver = JSONUtil.toBean(message, POPOrderDeliver.class);
        popOrderDeliver.getUid();
        popOrderDeliver.getOrderId();
        popOrderDeliver.getCreateOrderTime();
        //TODO do business...
    }
}
